package top.jle.spring.basic.annotation;

import io.swagger.v3.oas.annotations.ExternalDocumentation;
import io.swagger.v3.oas.annotations.info.Info;
import org.springframework.context.annotation.Import;
import top.jle.spring.basic.config.OpenAPIConfig;

import java.lang.annotation.*;

@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Import({OpenAPIConfig.class})
public @interface EnableOpenAPI {
    Info info() default @Info;

    String prefix() default "";

    ExternalDocumentation externalDocs() default @ExternalDocumentation;


}
